/*
package com.example.blog.Service;

import com.example.blog.entity.Article;
import com.example.blog.repository.ArticleRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public class ArticleService {
    @Autowired
    private ArticleRepository articleRepository;
    public Page<Article> findArticlesByTagId(int tagId, Pageable pageable) {

        return articleRepository.findByTagId(tagId, pageable);
    }
}

*/
